package com.example.demo.repository;

import com.example.demo.bean.bis.Picture;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PictureMapper {


    int deleteByPrimaryKey(Integer id);

    int insert(Picture record);

    Picture selectByPrimaryKey(Integer id);

    List<Picture> selectAll(@Param(value = "startTime") String startTime,
                            @Param(value = "endTime")String endTime
                            );

    List<Picture> findByUid(Integer uId);

    int updateByPrimaryKey(Picture record);
}